package com.kisszpy.system.entity;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import com.kisszpy.core.BaseEntity;

public class SysUser extends BaseEntity{
	private static final long serialVersionUID = -8005296789126756820L;
	private Integer id;
	private String username;
	private String password;
	private String email;
	private Date registerTime = new Date();
	private Date lastLoginTime;
	private Set<SysRole> roleSet = new HashSet<SysRole>();
	private Integer status = 0;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public Date getRegisterTime() {
		return registerTime;
	}
	public void setRegisterTime(Date registerTime) {
		this.registerTime = registerTime;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public Date getLastLoginTime() {
		return lastLoginTime;
	}
	public void setLastLoginTime(Date lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}
	public Set<SysRole> getRoleSet() {
		return roleSet;
	}
	public void setRoleSet(Set<SysRole> roleSet) {
		this.roleSet = roleSet;
	}
	
}
